a[100][100];main(n,i,j,x,y,s,c){for(;scanf("%d",&n);){if(!n)break;for(j=0;j<n;j++)for(i=0;i<n;scanf("%d",&a[i++][j]));for(c=x=j=0;j<n;j++,x=s%2?j:x,c+=s%2)for(s=i=0;i<n;s+=a[i++][j]);if(c>1){puts("Corrupt");continue;}for(c=j=0;j<n;j++,y=s%2?j:y,c+=s%2)for(s=i=0;i<n;s+=a[j][i++]);if(c>1){puts("Corrupt");continue;}else if(c)printf("Change bit (%d,%d)\n",x,y);else puts("OK");}}
